package cn.itcast.com.Thread;

public class test {
    public static void main(String[] args) {
        Container container = new Container();
        ComsumerTsk comsumerTsk = new ComsumerTsk(container);
        ProducerTask producerTask = new ProducerTask(container);
        new Thread(comsumerTsk,"吃包子的").start();
        new Thread(producerTask,"做包子的").start();
    }
}
